<template>
	<view class="banner">
		<u-swiper :list="list"  class="swiper-container"  @click="click1" :height="height"></u-swiper>
	</view>

</template>

<script>
	export default {
		props:{
			list:{
				type:Array,
				default:[]
			},
			height:{
				type:Number,
				default:130
			},
		},
		data() {
			return {
				list1: [
					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				]
			}
		},
			
		methods:{
			click1(){
				
			}
		}
	}
</script>
<style lang="scss" scoped>
	.banner {
		.swiper-container{
			height: 100%;
		}
	}
</style>
